package com.whh.starter.config.response;

import lombok.Data;

@Data
public class ErrorResponse {
    private int code;
    private String message;
    private String messageId;

    public ErrorResponse code(int code){
        this.code = code;
        return this;
    }
    public ErrorResponse message(String message){
        this.message = message;
        return this;
    }
    public ErrorResponse messageId(String messageId){
        this.messageId = messageId;
        return this;
    }
}
